//
//  HWPromotionAnnouncementCell.m
//  HWPromoteProjectAPP
//
//  Created by 陈道斌 on 2020/2/25.
//  Copyright © 2020 陈道斌. All rights reserved.
//

#import "HWPromotionAnnouncementCell.h"

@implementation HWPromotionAnnouncementCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.beijingbaiseView.layer.cornerRadius = 12;
    self.beijingbaiseView.layer.masksToBounds = YES;
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(HWPromotionAnnouncementModel *)model {
    
    _model = model;
     
    NSString  *ico = [NSString stringWithFormat:@"%@",model.icon];
    
    [self.icoimagView  sd_setImageWithURL:[NSURL URLWithString:ico] placeholderImage:nil];
    self.TypeLabel.text = [NSString stringWithFormat:@"%@",model.type];
      self.biaotiLabel.text = [NSString stringWithFormat:@"%@",model.title];
     self.dateLabel.text = [NSString stringWithFormat:@"%@",model.time];
    
      self.miaoshuLabel.text = [NSString stringWithFormat:@"%@",model.des];
    
    

    
}

@end
